A Useable Collection Framework for Java
نویسندگان
چکیده
Collection classes are ideal candidates for software reuse and can therefore play an important role in the development and use of object-oriented class libraries. In this paper we point out problems in existing objectoriented collection libraries from the viewpoint of their useability in programs. We identify a small number of software engineering concepts relevant to the design of libraries of collections and show how the use of these concepts can lead to a powerful but easily useable framework for collections in the programming language Java [1].
منابع مشابه
Framework for Prioritizing Solutions in Overcoming Data Quality Problems Using Analytic Hierarchy Process (AHP)
The Central Statistics Agency (BPS) is a government institution that has the authority to carry out statistical activities in the form of censuses and surveys, to produce statistical data needed by the government, the private sector and the general public, as a reference in planning, monitoring, and evaluation of development results. Therefore, providing quality statistical data is very decisiv...
متن کاملCoCo: Sound and Adaptive Replacement of Java Collections
Inefficient use of Java containers is an important source of run-time inefficiencies in large applications. This paper presents an application-level dynamic optimization technique called CoCo, that exploits algorithmic advantages of Java collections to improve performance. CoCo dynamically identifies optimal Java collection objects and safely performs run-time collection replacement, both using...
متن کاملAdding Efficient and Reliable Access Paths to the JCF
The Java Collections Framework (JCF) is the standard Java library for representing and manipulating collections (i.e., objects that represent a group of objects, such as sets, lists, etc.). Although JCF provides adequate functionality for many purposes, it does not offer any mechanism for accessing directly the objects stored in collections apart from the standard Java references. This absence ...
متن کاملComprehensive Profiling Support in the Java Virtual Machine
Existing profilers for Java applications typically rely on custom instrumentation in the Java virtual machine, and measure only limited types of resource consumption. Garbage collection and multi-threading pose additional challenges to profiler design and implementation. In this paper we discuss a general-purpose, portable, and extensible approach for obtaining comprehensive profiling informati...
متن کاملSafe Navigation in OCL
The null object has been useful and troublesome ever since it was introduced. The problems have been mitigated by references in C++, annotations in Java or safe navigation in Groovy, Python and Xbase. Introduction of a safe navigation operator to OCL has some rather unpleasant consequences. We examine these consequences and identify further OCL refinements that are needed to make safe navigatio...
متن کامل